package com.uam.core.scheduler;

import com.uam.core.business.PointSignal;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Async;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import com.uam.core.service.SectorService;

import lombok.extern.slf4j.Slf4j;

@Component
@Slf4j
public class SectorScheduler {

	@Autowired
	private SectorService sectorService = null;

	@Autowired
	private PointSignal checkPointSignal;

	String testId="home_base_cell_tower_2239";
	@Scheduled(fixedDelay = 30000L)
	public void sectorStat() {
		//保存区域
		sectorService.saveSectorStat();
	}

//	@Scheduled(fixedDelay = 10000L)
//	public void sectorStatSingle() {
//		checkPointSignal.checkPointSignal(testId);
//	}
}
